package com.ljb.designpatterns.singleton;

/**
 * 饿汉式单例
 * Created by ljb on 2018/6/25.
 */
public class SingleB {
    private static final SingleB INSTANCE = new SingleB();

    private SingleB() {
    }

    public static SingleB getInstance() {
        return INSTANCE;
    }
}
